how to update data in mysql database using c